//****************************************************************************
// File:    Main.cpp
// Author:  Dr. Thomas C. Bressoud
// Date:    February 8, 2008
// Class:   CS 173-01, Professor Bressoud
// Purpose: Play poker game
// Input:   None
// Output:  game logic for poker game
//****************************************************************************
#include <iostream>
using namespace std;

// Include class declarations so they may be used to declare and use object
// instances from each of the classes

#include "Card.h"
#include "Deck.h"
#include "PokerHand.h"

int main() {
  int numOfRounds;
  // Create a Deck object and shuffle it
  
  Deck deck;
  deck.shuffle(true);

  numOfRounds=3; // repeat number of Rounds
  int i=0;
  while (i<numOfRounds) {
	  i++;
	  // deal out two five-card Hands, one for a first player, and another for a second player
	  // then look for the highest level Poker category the players' hand conforms to 
	  // you have to finish it...
  	  // output format
	  PokerHand h1(deck);
      PokerHand h2(deck);

	  h1.evalHand();
	  h2.evalHand();
	  
	  cout << "Dealer's cards: ";
	  h1.print();
	  cout << " : ";
	  h1.showHand();
	  cout << "Player's cards: ";
	  h2.print();
	  cout << " : ";
	  h2.showHand();  
  }
  

  cout << "id123456789" << endl;

  return 0;
}
